﻿// base z-index isn't high enough to cover dialogs
$.blockUI.defaults.baseZ = 9999;

$.blockUI.defaults.css = {
	padding: 0,
	margin: 0,
	width: '30%',
	top: '40%',
	left: '35%',
	textAlign: 'center',
	color: '#000',
	//border: '3px solid #aaa', 
	//backgroundColor: '#fff', 
	cursor: 'wait'
};

$.blockUI.defaults.overlayCSS = {
	backgroundColor: '#000',
	opacity: 0.4
};

function blockUI()
{
	$.blockUI(
		{
			message: '<img src="/Images/transparent.gif" class="large-throbber" />'
		});
}

function unblockUI()
{		
	$.unblockUI();
}